lst = [90, 28, 89, 33, 4, 2, 98, 65]
def insert_sort(lst):
    for i in range(1,len(lst)):
        index = i
        for j in range(i-1,-1, -1):
            if lst[i]>lst[j]:
                break
            else:
                index = j
        if index != i:
            v =lst.pop(i)
            lst.insert(index,v)
    return lst
print(insert_sort(lst))